/*
 *= require bootstrap.min
 *= require bootstrap-select.min
 *= require font-awesome.min
 *= require roboto
 *= require highlight
 *= require social-share-button
 *= require jquery.atwho
 *= require jquery.fluidbox
 *= require_self
 */

@import "vars";

@mixin clearfix() {
  &:before,
  &:after {
    content: " ";
    display: table;
  }
  &:after {
    clear: both;
  }
  & {
    zoom: 1;
  }
}


/* Bootstrap Theme */
body {
  background: #f0f0f0;
  color: $black;
  font-family: "RobotoDraft", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.header {
  .navbar {
    background-color: #FFF;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border:0px;
    color: $blueText;
  }

  .navbar-brand {
    color: #666 !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    margin-left: 0 !important;
    b { color: $red; }
  }
  .navbar-default .navbar-brand,
  .navbar-default .navbar-nav>li>a  { color: #333; border-bottom: 3px solid #FFF; padding-bottom: 12px; }
  .navbar-default .navbar-nav>li>a:active { background-color: $grayDark; border-bottom-color: #999; }
  .navbar-inverse .navbar-nav .open .dropdown-menu .divider { color: #999 !important; }
  .navbar-inverse .navbar-nav .open .dropdown-menu li.active a { border-bottom: 0px; color: $red; }
  .navbar-inverse .navbar-toggle { color: #333; padding: 3px 9px; font-size: 18px; border:1px solid rgba(255,255,255,0.1); background-color: rgba(255,255,255,0.05); }
  .navbar-inverse .navbar-toggle:focus { background-color: rgba(255,255,255,0.05);}
  .navbar-inverse .navbar-toggle:hover { background-color: rgba(255,255,255,0.1); }
  .navbar-inverse .navbar-collapse,
  .navbar-inverse .navbar-form { border-color: $blueText; }
  nav.navbar-collapse.bs-navbar-collapse { border-color: rgba(255,255,255,0.3); }
  .navbar-inverse .navbar-nav>.open>a,
  .navbar-inverse .navbar-nav>.open>a:focus,
  .navbar-inverse .navbar-nav>.open>a:hover { background: $grayDark; color: #333; }
  .navbar-inverse .navbar-nav .open .dropdown-menu { position: absolute; left: auto; right: 0; background: #FFF; }
  .navbar-inverse .navbar-nav .open .dropdown-menu>li>a { color: #333; }
  .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover { background-color: rgba(255,255,255,0.05); }
  .navbar-inverse .navbar-nav .open .dropdown-menu .divider { background-color: #F0F0F0; }
  .navbar-nav {
    margin: 0px;
    a { color: #333; }
    li.active a,
    li.active a:focus,
    li.active a:hover { border-bottom:3px solid $red; color: $red; background: transparent; padding-bottom: 12px;}
  }

  .user-bar {
    .dropdown-toggle { display: block; }
    .navbar-toggle { display: none;   padding: 6px 8px; margin: 0;}
  }

  @media (max-width: 767px) {
    .navbar-header {
      text-align: center;
      padding: 2px 0;
      .navbar-brand {
        font-size: 12px; float: none; margin: 0 auto;
        height: auto; padding: 0px 10px;
      }
    }
    .navbar-nav { float: left; margin: 0px; }
    .navbar-nav>li { float: left; }
    .navbar-nav.navbar-right { float:right; }
    .user-bar {
      .dropdown-toggle { display: none; }
      .navbar-toggle { display: block; border-radius: 0px; }
      .dropdown.open .navbar-toggle { background-color: $grayDark; }
    }
  }

  .form-search {
    font-size: 14px;
    position: relative;
    margin-top: 13px;
    margin-right: 10px;

    .fa {
      color: #333;
      &:hover { color: #666; }
    }

    .fa-search{
      cursor: pointer;
      position: absolute;
      top: 6px;
      right: 0;
      transition: all .3s;
    }
    .btn-close {
      position: absolute;
      top: 6px;
      right: 0px;
      /*display: none;*/
      cursor: pointer;
      -webkit-transform: scale(0,0);
      -moz-transform: scale(0,0);
      transform: scale(0,0);
      -webkit-transition: all .3s;
      -moz-transition: all .3s;
      transition: all .3s;
    }
    .form-control {
      font-size: 12px;
      border:none;
      width: 0px;
      height: 100%;
      padding:6px 1px 4px 1px;
      margin-left: 4px;
      background: transparent;
      transition: all .3s;
      box-sizing: border-box;
      color: #333;
      &::-webkit-input-placeholder {
        color: #ddd;
      }
    }
    &.active {
      .form-control {
        width: 150px !important;
        cursor: text;
      }
      .fa-search { left: 0; right: auto; }
      .btn-close {
        -webkit-transform: scale(1,1);
        -moz-transform: scale(1,1);
        transform: scale(1,1);
      }
    }

  }
}

.sidebar { padding-left: 5px; }

.dropdown-menu { border-color: #FFF; border-radius: 2px;   border-top-left-radius: 0;
  border-top-right-radius: 0; box-shadow: 0px 1px 2px rgba(0,0,0,0.15); }

a { color: $blue; }

.btn {
  border-radius: 3px;
  border: 1px solid #ccc;
  padding: 5px 12px;
  outline: 0 !important;
}

.btn-default,
.btn-default:visited { background: #FFF; border-color: #dadada;  }
.btn-default:hover { background: #f9f9f9; border-color: #ddd; }
.btn-default.active { background: #f0f0f0; border-color: #d0d0d0;}
.btn-primary,
.btn-primary:visited { background: $blue; border-color: $blueDark; color: #FFF; }
.btn-primary:hover { background: $blueLight; border-color: $blue; }
.btn-primary.active { background: $blueDark; border-color: $blueDark; }
.btn-danger,
.btn-danger:visited { background: $red; border-color: $redDark; }
.btn-danger:hover { background: $redLight; border-color: $red;}
.btn-danger.active { background: $redDark; border-color: $redDark; }
.btn-warning,
.btn-warning:visited { background:$yellow; border-color: $yellow; }
.btn-warning:hover { background:$yellowLight; border-color: $yellowLight; }
.btn-warning.active { background:$yellowDark; border-color: $yellowDark; }
.btn-success,
.btn-success:visited { background:$green; border-color: $greenDark; }
.btn-success:hover { background:$greenLight; border-color: $green; }
.btn-success.active { background:$greenDark; border-color: $greenDark; }
.open>.dropdown-toggle.btn-primary { background: #0059C7; }

.navbar-btn { background: rgba(255,255,255, 0.1); color: $blueText; border:0px;}
.navbar-btn:hover { background: rgba(255,255,255, 0.15); color: $blueText;}

.label { font-weight: normal; border-radius: 2px; padding: 2px 4px;}
.label-default { background: $grayLabel; color: $grayLabelText;}
.label-primary { background: $blue; }
.label-warning { background: $yellowLabel; color: $yellowLabelText; }
.label-info { background: $blueLabel; color: $blueLabelText; }
.label-danger { background: $redLabel; color: $redLabelText; }
.label-success { background: $greenLabel; color: $greenLabelText; }

.alert-success { background: $greenLabel; color: $greenLabelText; }
.alert-info { background: $blueLabel; color: $blueLabelText; }
.alert-warning {
  background: $yellowLabel; color: $yellowLabelText;
  hr { border-color: #DAC264 !important; }
}
.alert-danger { background: $redLabel; color: $redLabelText; }

.control-label { color: #333; font-weight: normal; }
.control-label.checkbox { text-align: left; }
.form-control {
  border-radius: 3px;
  border-color: #ddd;
  box-shadow: inset 0 0 0px rgba(0,0,0, 0) !important;
  transition:none;
  &:focus { box-shadow: inset 0 0px 0px #fff; border-color: $blueLight; }
  &[disabled], &[readonly] {
    background: #f0f0f0;
  }
}
textarea.form-control,
#preview.form-control { border: 1px solid #D5DCE1; }
textarea.form-control,
#preview.form-control,
textarea.form-control:focus { padding: 6px; border-bottom-width: 1px; }
#preview.form-control { display:none; }
.editor-toolbar {
  .nav-pills { }
  .nav-pills>li>a {
    border-radius: 3px 3px 0 0;
    padding: 3px 23px;
    background-color: #f0f0f0;
    color: #999;
  }
  .nav-pills>li.active>a:link,
  .nav-pills>li.active>a:visited,
  .nav-pills>li.active>a:hover { background-color: $blueLight; color: #FFF; }
}
form {
  #preview { min-height: 500px; overflow-y: scroll; }
  .help-block { font-size: 12px; color: #aaa; margin-bottom: 0px; }
  .form-actions { }
}

.table-bordered>thead>tr>td, .table-bordered>thead>tr>th, .table>tr>th {
  border-bottom-width: 1px;
  background: #F0F0F0;
  color: #888;
  font-weight: normal;
  font-size: 14px;
}
.table-striped>tr:nth-of-type(odd) {
  background: #FFF;
}
.table-striped>tr:nth-of-type(even) {
  background: #f9f9f9;
}

.input-group-addon {
  background: #f0f0f0;
  color:#999;
  border-radius: 3px 0 0 3px;
}

.bootstrap-select {
  .btn-default,
  .btn-default.active {
    background: #f9f9f9;
    border: 1px solid #ddd;
    transition: none;
    padding-bottom: 7px;
  }
}

.popover {
  border-radius: 3px; border-color: #eee; box-shadow: 0 1px 1px 0px rgba(0, 0, 0, 0.05);
}
.popover>.arrow { border-color: $grayDark; }
.popover>.arrow:after { border-color: $grayDark; }

.alert {
  padding:5px 10px 3px;
  border:0px; border-bottom:1px solid rgba(0, 0, 0, 0.07);
  border-radius: 0px; font-size: 13px;
  transform: scale(1,1);
  transition: all .3s;

  strong { color: $redDark; }

  &>ul {
    padding: 5px 18px;
    list-style-type: square;
  }
  a.close { font-size: 14px; text-shadow: 0 0 0;}
}

.pagination {
  margin: 0;
  &>li:first-child>a,
  &>li:first-child>span { border-top-left-radius: 3px; border-bottom-left-radius: 3px; }

  &>li:last-child>a,
  &>li:last-child>span { border-top-right-radius: 3px; border-bottom-right-radius: 3px; }
  li>a { color: #777; }

  li>a,
  .disabled>a,
  li>span { border-color: #E0E0E0 !important; }

  li>a:hover { color: #555; background: $gray; }

  li.active>a,
  li.active>a:hover { background-color: #CFDFFC; border-color: #BDCFEF !important; color: $blue; }
}
.pager {
  margin: 0px;
  .info {
    line-height: 32px;
    color: #ccc;
    samp { color: #999; }
  }
  li>a,
  li>span {
    color: #666;
    border-radius: 3px;
    border: 0px;
    background: transparent;
    &:hover { background: #fff; }
  }
  li.disabled>a,
  li.disabled>span {
    color: #ddd;
    background: transparent;
    &:hover { color: #ddd; background: transparent; }
  }
}
abbr[title] { border-bottom: 0px; cursor: text; }

kbd {
  background-color: #f5f5f5; color: #999; border-radius: 2px; border-color: #fafafa;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
  padding: 4px 5px;
}


.panel {
  border: 0px;
  border-radius: 3px;
  border: 0px;
  box-shadow: 0 0px 3px 2px rgba(0, 0, 0, 0.03);

  .panel-heading {
    background: #f9f9f9;
    border-bottom-color: #eee;
    color: #777;
  }
  .panel-footer {
    border-top-color: #eee;
    background: #f9f9f9;
  }
}

.nav-stacked { margin-bottom: 15px; }
.nav-stacked.nav-pills>li>a {
  text-align: right;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 0px 1px rgba(0, 0, 0, 0.09);
  padding: 5px 15px;
  margin-bottom: 0px;
  background: #fff; border-right:2px solid $blackLight; color: #666;
}
.nav-stacked.nav-pills>li>a:hover { border-color: $blueLight; color: $blueLight; background-color: #fff; }
.nav-stacked.nav-pills>li.active>a,
.nav-stacked.nav-pills>li.active>a:focus,
.nav-stacked.nav-pills>li.active>a:hover {
  color: $red;
  background-color: #FFF;
  border-color: $redLight;
}

.fa-spin {
  -webkit-animation: fa-spin 0.8s infinite linear;
  animation: fa-spin 0.8s infinite linear;
}

/* App Style */
.opts {
  color: #666;
  a { }
  a:link,
  a:visited {
    color: #666;
    padding: 3px;
    text-decoration: none;
  }
  a:hover { background: #f0f0f0; color: #666; text-decoration: none; }
  .loading {
  }
}

html.turbolinks-progress-bar::before {
  position: absolute !important;
  background-color: $red !important;
  height: 2px !important;
}

.pull-right.opts {
  a { margin-left: 5px; margin-right: 0px; }
}
.avatar {
  .uface,
  .media-object { border-radius: 3px; }
}
.avatar-16 { width: 16px; height: 16px; border-radius: 1px; }
.avatar-48 { width: 48px; height: 48px; border-radius: 2px; }
.avatar-120 { width: 80px; height: 80px; border-radius: 2px; }
@media (max-width: 480px) {
  .avatar-48 { width: 32px; height: 32px; }
}

.uname { color:#666; }
img.emoji { width:20px; height:20px; }
.node-name {
  background: #f0f0f0; padding: 1px 3px; color: #777; margin-right: 5px;
  &:hover { color:#555; text-decoration:none; background:#e0e0e0; }
}
.fa.awesome {
  font-size: 13px;
  color: $red;
}
.notification-count {
  .count { margin-left: 4px; display: none; font-size: 12px;}
  .new {
    color: $redLight !important;
    .count { display: inline; }
  }
}
.deleted { text-decoration: line-through; color: $grayDark; }
.no-result { color: #aaa; padding-bottom: 20px; text-align: center;}

.opts a.active {
  .fa {
    @extend .animated;
    @extend .bounceIn;
    color: $red;
  }
}

@media (max-width: 480px) {
  .hidden-mobile { display: none !important; }
  .pagination {
    display: block;
    li { display: none; }
    li.prev,
    li.next {
      float: left; display: block;
      a {
        border-radius: 20px !important;
      }
    }
    li.next { float: right; }
  }
}

.node-list {
  .node {
    margin-bottom: 10px;
    margin-top: 0px;
    &:last-child { margin-bottom: 0px; }
    .media-left { min-width: 130px; }
    label { font-weight: normal; color: #aaa; text-align: right; }
    .name {
      margin-bottom: 10px;
      width: 100px;
      display: block;
      float: left;
      text-align: left;
      a:link, a:visited { color: #333; }
    }
  }
}

.topics {
  .panel-body {
    padding: 0 15px;
  }
  .node-info {
    .name {
      strong {
        font-weight: bold; color: #666;
        text-align: left;
        font-size: 16px; padding-bottom: 10px;
      }
      .total { font-size: 12px; font-weight: normal; margin-left: 8px; }
      .button-block-node { font-size: 13px; border:1px solid #e0e0e0; }
      .button-block-node.active { background-color: #e0e0e0; border-radius: #d0d0d0; }
    }
    .summary {
      color: #888;
      h1, h2, h3, h4, h5 { font-size: 14px; }
      font-size: 13px;
    }
  }
  .filter {
    padding: 3px 0 2px 0;
    font-size: 13px;
    color: #ccc;
    span.l { color: #bbb; margin-right: 5px; }
    a:link,a:visited { margin: 0 3px; }
    a:hover { text-decoration:underline; }
    a.popular { color: $red; }
    a.active { color: #333; border-bottom: 1px dotted #ccc; text-decoration: none; }
    a.popular.active { color: $red; border-bottom-color: $red;}
  }
  .topics-group:first-child {
    @media (max-width: 991px) {
      .topic:last-child { border-bottom: 1px solid #F0F0F0; }
    }
  }
  .topic {
    min-height: 68px;
    border-bottom: 1px solid #F0F0F0;
    padding: 10px 15px;
    margin: 0 -15px;
    vertical-align: top;
    position: relative;
    &:last-child { border-bottom: 0px; }
    .avatar { text-align:center; }
    .title {
      font-size: 15px;
      i.fa { color: #999; margin-left: 3px; }
      i.fa-diamond { color: $red; }
    }
    .info {
      color: #aaa; font-size: 12px; margin-top: 10px;
      .node {
        padding: 1px 5px;
        color: #778087;
        text-decoration: none;
        background-color: #f5f5f5;
      }
      a { color: #666; }
    }
    .count {
      width: 100px; text-align: right; padding-top: 15px;
      a:link,
      a:hover,
      a:visited {
        line-height: 12px;
        color: #fff; font-weight:bold;
        border-radius: 80px; padding: 2px 10px 2px 10px;
        display: inline-block;
        text-decoration: none;
      }

      a:link { background: #98ACDF; }
      a:hover { background: #0069D6; }
      a.state-true,
      a:visited { background: #AAA; }
    }
  }
}

.topic-detail {
  margin-bottom: 30px;
  .panel-heading {
    padding: 15px;
    h1 { margin-top:0; font-size:24px; color:#333;text-align: left; line-height:100%; margin-bottom:8px; }
    .avatar { text-align:right; }
  }

  .label-awesome {
    font-size: 13px;
    background:#FCF8F7;
    padding: 3px 15px;
    border-top: 1px solid #eae5e4;
    color: #aAa5a4;

    a { color: #aAa5a4; }
  }
  .label-nopoint {
    font-size: 13px;
    background:#FCF8E3;
    padding: 3px 15px;
    border-top: 1px solid #FAEBCC;
    color: #ae938B;

    a { color: #ae938B; }
  }

  .info {
    color:#c0c0c0;
    font-size:12px;
    a { color: #444; }
    .node {
      padding: 1px 0px;
      color: #778087;
      text-decoration: none;
      background-color: #f5f5f5;
    }
    em { font-style:normal; }

    .opts {
      a {
        margin-left: 5px; color: #999;
        &:hover { color: #333; }
      }
    }
  }
}

#topic-sidebar {
  position: fixed;
  width: 260px;


  @media (min-width: 992px) {
    width: 240px;
  }

  @media (min-width: 1100px) {
    width: 260px;
  }



  .group {
    text-align: center; margin-bottom: 20px;
  }

  .buttons {
    margin-top: 20px;
    .likes {
      a { display: block; width: 90px; margin: 0 auto; border-radius: 5px; padding: 10px 0;}
      a:link, a:hover, a:visited { text-decoration: none; color: #333; }
      a:hover { background: rgba(0, 0, 0, 0.03); }
      i.fa { display: block; font-size: 40px;  margin-bottom: 10px; color: #666; }
      a.active {
        i.fa { color: #DC3030; }
      }
    }
  }
  .reply-buttons {
    text-align:center;
    .total { margin-bottom: 10px; }
  }
  a.btn-move-page { color: #666; }
}

#replies {
  margin-bottom: 30px;
  .panel-body {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .info {
    .uname { color: #777; font-weight: bold; }
    .opts {
      a {
        font-size: 13px;
        margin-left: 5px; color: #999;
        &:hover { color: #333; }
      }
      a.edit { display: none; }
    }
  }
  .reply {
    margin: 0 -15px;
    padding: 10px 15px;
    position: relative;
    border-bottom: 1px solid #eee;
    padding-left: 74px;
    .infos { min-height: 48px; }
    .avatar { position: absolute; top: 10px; left: 15px; }
    &:last-child {
      border-bottom: 0px;
    }
    &.none {
      text-align: center;
      color: #999;
      min-height: 32px;
    }
    &.deleted {
      margin-bottom: 0px;
      min-height: 24px !important;
      padding-top: 5px;
      padding-bottom: 0px;
      background: #f9f9f9;
      color:#aaa;
      text-decoration: line-through;
      font-size:12px; text-align:center;
      .media-body { margin-left: 0px; }
    }
    &.light { background:#F7F2FC; }
        &.popular { background:#fffce9; }

    .media-body {
    }
    .avatar { text-align:center; }
    .info {
      .name {
        a { color: $blueLight; }
      }
      font-size: 12px;
      .reply-floor { color: #7AA87A; }
    }
  }

  @media (max-width: 480px) {
    .reply {
      padding-left: 57px;
    }
  }
}

#notifications {
  .panel-heading {
    .clean-button { margin-left: 10px; }
  }
  .notification {
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid $gray;
    &:last-child { margin-bottom: 0px; border-bottom: 0px; padding-bottom: 0px; }
    .unread { color: $blueLight; font-size: 10px;  position: absolute; right: 5px; top: 20px;}
    .avatar { text-align:center; }
    .info { color: #999; margin-bottom: 8px; font-size: 13px; }
    .date { font-size: 12px; color: #aaa;}
  }
}


/* Social Share Button */
.social-share-button {
  height: 16px;
  a {
    i.fa { font-size: 24px; margin: 0 4px; }
    &:link, &:visited { color: #777; }
    &:hover {
      color: $blueLight;
    }
  }
}
.popover-content {
  .social-share-button { display: block; }
}

/* Markdown Styles */
.markdown {
  position:relative;
  line-height: 1.8em; font-size:14px; text-overflow: ellipsis; word-wrap: break-word;
  font-family: "RobotoDraft", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  img { max-width: 100%; }
  p,
  pre,
  ul,
  ol,
  blockquote { margin-bottom: 16px; }

  p { font-size: 14px; line-height: 1.5em; }
  hr { border:2px dashed $gray; border-bottom:0px; margin: 18px auto; width:50%; }
  blockquote {
    margin: 0 18px 15px 18px;
    padding: 0;
    padding-left: 32px;
    border: 0px;
    quotes: "\201C""\201D""\2018""\2019";
    position: relative;
    line-height: 1.45;
    p { display:inline; font-size:12px; color: #999; }
    &:before,
    &:after {
      display: block;
      content: "\201C";
      font-size: 35px;
      position: absolute;
      font-family: serif;
      left: 0px;
      top: 0px;
      color: #aaa;
    }
  }
  pre {
    font-family: Menlo, Monaco, "Courier New", monospace;
    font-size: 12px;
    background-color: #F5F5F5;
    border: 0px;
    padding: 5px;
    color: #444;
    overflow: auto;
    border-radius: 0px;
    code {
      display: block;
      line-height: 150%;
      padding: 0!important;
      font-size: 12px!important;
      background-color: #F5F5F5 !important;
      border: none!important; }
  }
  p:last-child,
  blockquote:last-child,
  pre:last-child { margin-bottom:0; }
  pre::-webkit-scrollbar {
    height: 8px;
    width: 8px; }

  pre::-webkit-scrollbar-thumb:horizontal {
    width: 25px;
    background-color: #ccc;
    -webkit-border-radius: 4px; }

  pre::-webkit-scrollbar-track-piece {
    margin-bottom: 10px;
    background-color: #e5e5e5;
    border-bottom-left-radius: 4px 4px;
    border-bottom-right-radius: 4px 4px;
    border-top-left-radius: 4px 4px;
    border-top-right-radius: 4px 4px; }

  pre::-webkit-scrollbar-thumb:vertical {
    height: 25px;
    background-color: #ccc;
    -webkit-border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px white; }

  code {
    font-size: 12px!important;
    background-color: #F5F5F5 !important;
    color: #444 !important;
    padding: 1px 2px !important;
    border: 0px;
    margin: 2px;
    border-radius: 0px;
    word-break: break-all;
    line-height: 20px;
    font-family:Monaco,Menlo, "Courier New", monospace;
  }
  a:link,
  a:visited {
    color:#0069D6 !important; text-decoration: none !important;
  }
  a:hover { text-decoration: underline !important; color:#00438A !important; }
  a.mention-floor { color:#60b566 !important; margin-right: 3px;  }
  a.mention {
    color:#777 !important; font-weight: bold;
    margin-right: 2px;
    b { color:#777 !important; font-weight: normal; }
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight:bold; text-align:left;
    margin-top: 10px !important; margin-bottom: 16px;
  }
  h1 { font-size: 26px !important; text-align: center; margin-bottom: 30px !important; }
  h2,
  h3,
  h4 {
    text-align: left;
    font-weight: bold;
    font-size: 16px !important;
    line-height: 100%;
    margin: 0; color: #555;
    margin-top: 16px; margin-bottom:16px;
    border-bottom:1px solid #eee;
    padding-bottom: 5px;
  }
  h2 { font-size: 20px !important; border-bottom-width: 2px; padding-bottom: 15px; margin-top: 20px; margin-bottom:20px; color: #111; }
  h3 { font-size: 18px !important; padding-bottom: 10px; margin-top: 20px; margin-bottom: 20px; color: #333; }
  h5, h6 { font-size: 15px; line-height: 100%; color: #777; }
  h6 { font-size: 14px; color: #999; }

  strong { color:#000; }
  ul,
  ol {
    list-style-position: inside;
    list-style-type: square;
    margin:0;
    margin-bottom: 20px;
    padding:0px 20px;
    p,
    blockquote,
    pre { margin-bottom:8px; }
    li { line-height:1.6em; padding:2px 0; color:#333; font-size:13px; }
    ul { list-style-type: circle; margin-bottom: 0px; }
  }
  ol {
    list-style-type: decimal;
    ol { list-style-type: lower-alpha; margin-bottom: 0px; }
  }
  img { vertical-align: top; max-width: 100%; }
  a.zoom-image { cursor: zoom-in; }
  a.at_floor { color: #60B566 !important; }
  a.at_user { color: #0069D6 !important; }
}


footer {
  margin-top: 10px; margin-bottom: 20px;
  color: $blackLight;
  a { color: #666; }
  .links { color: #ddd; }
}


.profiler-results { display: none !important; }
@media (min-width: 1100px) {
  .profiler-results { display:block !important; }
  .profiler-results.profiler-left {
    top: 80px !important;
    position: absolute !important;
    background-color: transparent;
  }
  .profiler-results .profiler-button, .profiler-results .profiler-controls {
    border-radius: 0px !important;
    background-color: transparent !important;
    color: $grayDark !important;
    border: 0px !important;
  }
  .profiler-result .profiler-number { color: #aaa !important;}
  .profiler-result .profiler-unit { color: #ccc !important;}
  .profiler-results .profiler-popup {

  }
}

.notify-updated {
  display: none;
  padding: 4px 15px;
  margin-bottom: 20px;
  text-align: left;
  background: #FDF8A6; border:1px solid #F5E3A4; color: $redLabelText;
  a:link,
  a:visited { color: $yellowText; }
}

.dz-preview { display: none; }
textarea.div-dropzone-focus { border-color: #BBE1C9; background: #fafafa; }
